import { getAction, deleteAction, putAction, postAction } from '@/api/manage'
const serviceName = ''
const smuInfoKeywordList = (params) => getAction(`${serviceName}/smuggle/smuInfoKeyword/list`, params)
const keywordAdd = (params) => postAction(`${serviceName}/smuggle/smuInfoKeyword/add`, params)
const keywordEdit = (params) => putAction(`${serviceName}/smuggle/smuInfoKeyword/edit`, params)
const keywordDel = (params) => deleteAction(`${serviceName}/smuggle/smuInfoKeyword/delete`, params)
const keywordDelBatch = (params) => deleteAction(`${serviceName}/smuggle/smuInfoKeyword/deleteBatch`, params)
const editBatch = (params) => putAction(`${serviceName}/smuggle/smuInfoKeyword/editBatch`, params)
const recordList = (params) => postAction(`${serviceName}/smuggle/smuInfoRecord/list`, params)
const smuAreaList = (params) => getAction(`${serviceName}/smuggle/smuArea/list`, params)
const queryByInfoCode = (params) => getAction(`${serviceName}/smuggle/smuInfoRecord/queryInfoDetails`, params)
const brandList = (params) => getAction(`${serviceName}/smuggle/smuInfoRecord/brandList`, params)
const smuUserList = (params) => postAction(`${serviceName}/smuggle/smuUser/list`, params)
const smuUserDetail = (params) => getAction(`${serviceName}/smuggle/smuUser/details`, params)

export {
  smuInfoKeywordList,
  keywordAdd,
  keywordDel,
  keywordDelBatch,
  keywordEdit,
  editBatch,
  recordList,
  smuAreaList,
  queryByInfoCode,
  brandList,
  smuUserList,
  smuUserDetail
}
